Skip to main content

iphoneSetNotificationBadgeValue

Type

command

Summary

Sets the badge value of the Application Badge.

Syntax

iphoneSetNotificationBadgeValue <badgeValue>

Description

Use the iphoneSetNotificationBadgeValue command to change the value of the Application Badge Value.

This command sets the Badge Value of the application to the integer value specified. If the value is positive the badge and the value are displayed next to the application icon. If the badge is 0 (zero), then the badge is hidden.

Parameters

NameTypeDescription

badgeValue

A positive integer or zero.

Examples

iphoneSetNotificationBadgeValue 10
iphoneSetNotificationBadgeValue 0

function: iphoneGetNotificationBadgeValue

glossary: command

Compatibility and Support

Introduced

LiveCode 5.5

OS

ios

Platforms

mobile

Thank you for your feedback!

Was this page helpful?